package com.coder.baseapp.injecter.components;

import android.content.Context;

import com.coder.baseapp.injecter.module.ApplicationModule;
import com.coder.baseapp.mvp.model.API;

import javax.inject.Singleton;

import dagger.Component;
import okhttp3.OkHttpClient;
import retrofit2.Retrofit;

/**
 * Application Component
 *
 * @Author: Tua.CoderGui
 * *
 * @Date: 2017/3/10
 * *
 * Copyright (c) 2017 All Rights Reserved.
 */
@Singleton
@Component(modules = ApplicationModule.class)
public interface ApplicationComponent {

    Context getContext();

    API getApi();

    Retrofit getRetrofit();

    OkHttpClient getOkHttpClient();
}
